package com.czk.yygh.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/11/29 15:18
 */
@SpringBootApplication
@MapperScan(basePackages = "com.czk.yygh.order.mapper")
@ComponentScan("com.czk")
@EnableFeignClients(value = {"com.czk.yygh.hosp.client","com.czk.yygh.user.client"})
@EnableDiscoveryClient
@EnableRabbit
public class OrderMainApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderMainApplication.class, args);
    }
}
